package com.media.entrance.model;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.UUID;

// 给二期接口3、4使用
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MatchAndResourceModel {
    private String agentId;
    private String deviceId;
    private String roomId;
    private MediaResourceModel forwarderInfo;

    public String getAgentId() {
        return agentId;
    }

    public void setAgentId(String agentId) {
        this.agentId = agentId;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    @Override
    public String toString() {
        return "MatchAndResourceModel{" +
                "agentId='" + agentId + '\'' +
                ", deviceId='" + deviceId + '\'' +
                ", roomId=" + roomId +
                ", forwarderInfo=" + forwarderInfo +
                ", recorderInfo=" + recorderInfo +
                ", queueNo=" + queueNo +
                ", queueLimit=" + queueLimit +
                '}';
    }

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public MediaResourceModel getForwarderInfo() {
        return forwarderInfo;
    }

    public void setForwarderInfo(MediaResourceModel forwarderInfo) {
        this.forwarderInfo = forwarderInfo;
    }

    public MediaResourceModel getRecorderInfo() {
        return recorderInfo;
    }

    public void setRecorderInfo(MediaResourceModel recorderInfo) {
        this.recorderInfo = recorderInfo;
    }

    public MatchAndResourceModel(String agentId, String deviceId, String roomId, MediaResourceModel forwarderInfo, MediaResourceModel recorderInfo, Long queueNo, Long queueLimit) {
        this.agentId = agentId;
        this.deviceId = deviceId;
        this.roomId = roomId;
        this.forwarderInfo = forwarderInfo;
        this.recorderInfo = recorderInfo;
        this.queueNo = queueNo;
        this.queueLimit = queueLimit;
    }

    public MatchAndResourceModel(String agentId, String deviceId, String roomId, MediaResourceModel forwarderInfo, MediaResourceModel recorderInfo) {
        this.agentId = agentId;
        this.deviceId = deviceId;
        this.roomId = roomId;
        this.forwarderInfo = forwarderInfo;
        this.recorderInfo = recorderInfo;
    }

    public MatchAndResourceModel(){

    }

    private MediaResourceModel recorderInfo;

    public Long getQueueNo() {
        return queueNo;
    }

    public void setQueueNo(Long queueNo) {
        this.queueNo = queueNo;
    }

    public Long getQueueLimit() {
        return queueLimit;
    }

    public void setQueueLimit(Long queueLimit) {
        this.queueLimit = queueLimit;
    }

    private Long queueNo;
    private Long queueLimit;

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    private String reason;

    public String getAgentStatus() {
        return agentStatus;
    }

    public void setAgentStatus(String agentStatus) {
        this.agentStatus = agentStatus;
    }

    private String agentStatus;

}
